﻿@model CustomerServiceCenter.Models.LoginModel

@{
    Session.Remove("adminLoginInfo");
    ViewBag.Title = "Log in";
    Layout = null;
}

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Login</title>
    <link href="~/content/web/style.css" rel="stylesheet" />
    <link href="~/content/web/login.css" rel="stylesheet" />
</head>
<body>
    <header class="style-bg-black">
        <h3 class="style-green"><img src="~/images/csclogo.png" alt=""> Customer Service Center</h3>
    </header>
    <div class="container">
        @*@Session["adminLoginInfo"];*@
        <div class="login">
            @using (Html.BeginForm())
            {
                <table>
                    @*<tr class="radioTr">
                        <td>
                            <input type="radio" name="user" checked>Operator
                        </td>
                        <td>
                            <input type="radio" name="user">Admin
                        </td>
                    </tr>*@
                    <tr>
                        <td colspan="2">
                            @Html.ValidationSummary(true)
                        </td>
                    </tr>
                    <tr>
                        <td colspan="2">
                            <input type="text" name="UserName" placeholder="Username">
                            @Html.ValidationMessageFor(m => m.UserName)
                        </td>
                    </tr>
                    <tr>
                        <td colspan="2">
                            <input type="password" name="Password" placeholder="Password">
                            @Html.ValidationMessageFor(m => m.Password)

                        </td>
                    </tr>
                    <tr>
                        <td class="btnTr" colspan="2">
                            <button class="style-bg-green">Log in</button>
                        </td>
                    </tr>
                </table>
            }
        </div>
    </div>
</body>
</html>

